<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <include file="./App/ClubAdmin/View/Public/header.html" />
    <include file="./App/ClubAdmin/View/Public/menu.html" />
    <include file="./App/ClubAdmin/View/Public/js.html" />
<title>比赛管理</title>
</head>
<body>
<div class="templatemo-content col-1 light-gray-bg">
  <div class="templatemo-top-nav-container">
    <div class="row">
      <nav class="templatemo-top-nav col-lg-12 col-md-12">
        <ul class="text-uppercase">
          <li><a href="" class="active">比赛管理</a></li>
          <li><a class="active" href="__URL__/addGame">新增  <i class="glyphicon glyphicon-plus"></i></a></li>
        </ul>  
      </nav> 
    </div>
  </div>
<div class="templatemo-content-container">
  <div class="templatemo-content-widget no-padding">
    <div class="panel panel-default table-responsive">
      <table class="table table-striped table-bordered templatemo-user-table">
    <thead>
	  <tr>
		<td><a href="" class="white-text templatemo-sort-by">比赛编号<span class="caret"></span></a></td>
		<td><a href="" class="white-text templatemo-sort-by">比赛名称<span class="caret"></span></a></td>
		<td><a href="" class="white-text templatemo-sort-by">比赛事项<span class="caret"></span></a></td>
		<td><a href="" class="white-text templatemo-sort-by">比赛时间<span class="caret"></span></a></td>
		<!-- <td><a href="" class="white-text templatemo-sort-by">咨询热线<span class="caret"></span></a></td> -->
		<td><a href="" class="white-text templatemo-sort-by">限制人数<span class="caret"></span></a></td>
    <!-- <td><a href="" class="white-text templatemo-sort-by">比赛地址<span class="caret"></span></a></td> -->
    <td><a href="" class="white-text templatemo-sort-by">比赛图片1<span class="caret"></span></a></td>
    <td><a href="" class="white-text templatemo-sort-by">比赛图片2<span class="caret"></span></a></td>
    <!-- <td><a href="" class="white-text templatemo-sort-by">图片3<span class="caret"></span></a></td>
		<td><a href="" class="white-text templatemo-sort-by">俱乐部管理员编号<span class="caret"></span></a></td>
    <td><a href="" class="white-text templatemo-sort-by">用户编号<span class="caret"></span></a></td> -->
		
    <td>修改</td>
    <td>删除</td>
	  </tr>
    </thead>
    <tbody>      
      <volist name="games" id="vo"  >  
        <tr>
          <td>{$i}</td>
          <td>{$vo.g_title}</td>
          <td>{$vo.g_content}</td>
          <td>{$vo.g_date}</td>
          <!-- <td>{$vo.g_tel}</td> -->
          <td>{$vo.g_quantity}</td>
          <!-- <td>{$vo.g_address}</td>   -->                                 
          <td><img src="__PUBLIC__/upload/{$vo.g_pic1}" width="60"></td>
          <td><img src="__PUBLIC__/upload/{$vo.g_pic2}" width="60"></td>
          <!-- <td><img src="__PUBLIC__/upload/{$vo.g_pic3}" width="60"></td>
          <td>{$vo.cl_id}</td>
          <td>{$vo.u_id}</td>  -->       
          
            <td>
            <a class="btn btn-info" href="__URL__/editGame/g_id/{$vo.g_id}"><i class="glyphicon glyphicon-pencil">修改</i></a>
            </td>
            <td>
            <a href="__URL__/delGame/g_id/{$vo.g_id}" class="btn btn-danger" onclick="return confirm('你确定要删除吗？')"><i class="glyphicon glyphicon-trash">删除</i></a>
          </td>
        </tr>       
      </volist>      
    </tbody>
  </table>
  </div>
  </div>
  <div class="jogger col-md-10   col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
            <p>{$link}</p>
           </div>
</body>
</html>
